home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 6623 / 6623.xpi / content / bp.xul < prev    next >
Extensible Markup Language  |  2010-01-22  |  12KB  |  268 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <!DOCTYPE prefwindow SYSTEM "chrome://bp/locale/bp.dtd">
  4.  
  5.  
  6.  
  7.  
  8.  
  9. <prefwindow xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  10. id="bpPrefsWinID"
  11. windowtype="mozilla:betterprivacy"
  12. autosize="true"
  13. title="&PrefTitle;" 
  14. buttons="," 
  15. ondialogaccept=""
  16. onload="bpopt.init(); this.focus();"
  17. onclose="bpopt.accept(false);"
  18. resizable="yes"
  19. persist="width, height, screenX, screenY"
  20. onkeypress="return bpriv.WindowOnEnter(event);"
  21. >
  22.  
  23.  
  24.     <stringbundleset>
  25.         <stringbundle id="strBundle" src="chrome://bp/locale/bp.properties"/>
  26.     </stringbundleset>
  27.  
  28.     <script type="application/x-javascript" src="chrome://bp/content/bp.js"/>
  29.     <script type="application/x-javascript" src="chrome://bp/content/bpopt.js"/>
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.     <script type="application/x-javascript">  
  37.           <![CDATA[
  38.           ]]>
  39.     </script>
  40.  
  41.  
  42.  
  43.  
  44.  
  45.     <prefpane id="bprivprefpane" label="&PrefTitle;" flex="1"> 
  46.  
  47.         <preferences>
  48. <!--
  49.             <preference id="flashAppDir" name="extensions.bprivacy.flashAppDir" type="string" />
  50. -->
  51.             <preference id="flashAppDir" name="extensions.bprivacy.DataDir" type="file" />
  52.             <preference id="RemovedLSOs" name="extensions.bprivacy.removed" type="int" />
  53.             <preference id="RemovedLSOsSession" name="extensions.bprivacy.removedSession" type="int" />
  54.             <preference id="AutoDelLSOOnStart" name="extensions.bprivacy.AutoDelLSOnStart" type="bool"/>
  55.             <preference id="AutoDelLSOnExitMode" name="extensions.bprivacy.AutoDelLSOnExitMode" type="int"/>
  56.             <preference id="AutoInterval" name="extensions.bprivacy.useDelTimer" type="bool"/>
  57.             <preference id="AutoIntervalDelay" name="extensions.bprivacy.useDelTimerDelay" type="bool"/>
  58.             <preference id="AutoDelDirs" name="extensions.bprivacy.delDirs" type="bool"/>
  59.             <preference id="AutoDelDC" name="extensions.bprivacy.DefaultFlashCookieDeletion" type="bool"/>
  60. <!--
  61.             <preference id="DisableDOM" name="dom.storage.enabled" type="bool" inverted="true"/>
  62. -->
  63.             <preference id="ClearDOM" name="extensions.bprivacy.domclear" type="bool"/>
  64.             <preference id="DisablePing" name="browser.send_pings" type="bool" inverted="true"/>
  65.             <preference id="DontAskOnExit" name="extensions.bprivacy.donotaskonexit" type="bool" inverted="true"/>
  66.             <preference id="alwaysReScan" name="extensions.bprivacy.alwaysReScan" type="bool" inverted="false"/>
  67.             <preference id="NotifyOnNewLSO" name="extensions.bprivacy.NotifyOnNewLSO" type="int"/>
  68.             <preference id="NotifyDuration" name="extensions.bprivacy.NotifyDuration" type="int" />
  69.             <preference id="propagate" name="extensions.bprivacy.propagate" type="bool"/>
  70.  
  71.  
  72.         </preferences>
  73.  
  74.  
  75.     <tabbox id="tabbox" flex="1">
  76.         <tabs id="tabs">
  77.             <tab id="tab1" label="&Tab1Title;"/>
  78.             <tab id="tab2" label="&Tab2Title;"/>
  79.         </tabs>
  80.         <tabpanels id="tabpanels" flex="1">
  81.         <tabpanel id="tabpanel1" flex="1" orient="vertical" style="overflow:auto;">
  82.         <groupbox id="FlashDirectory" flex="1">
  83.         <caption label="&LSOcaption;" />
  84.             <vbox>
  85.                 <hbox>
  86.                     <label value="&FlashAppFolder;" style="width: 120px;"/>
  87.                     <textbox id="appdir" onkeypress="return bpriv.changeAppDir(event);" flex="1"/>
  88.                     <button id="selectFolderID" label="&SelectFlashFolder;" oncommand="bpriv.changeAppDir(null);"/>
  89.                     <button id="searchFolderID" label="&SearchFlashFolder;" oncommand="bpriv.searchDir();"/>
  90.                 </hbox>
  91.             </vbox>
  92.             <description id="lsoinfo" style="font-weight: bold;"/>
  93.  
  94.             <spacer orient="vertical" height="5px"/>
  95.  
  96.             <vbox flex="1">
  97.                 <hbox align="end">
  98.                     <label value="&LSOViewDescription;"/>
  99.                     <spacer orient="horizontal" width="5px" flex="1"/>
  100.                     <button id="reloadLsos" label="&ButtonReload;" oncommand="bpriv.ReloadLsos();" tooltiptext="&TTTButtonReload;" style="max-height: 20px !important; min-height: 20px !important; min-width: 185px !important; max-width: 185px !important;"/>
  101.                 </hbox>
  102.                 <separator class="thin"/>
  103.                 <tree id="LSOViewerTree" flex="1" seltype="single" sortDirection="ascending" hidecolumnpicker="true" enableColumnDrag="true" onkeyup="bpopt.keyDelCookie(event);" onselect="bpriv.TreeOnSelect(bpriv.GetFlashDir(0));">
  104.                     <treecols>
  105.                         <!--<treecol id="folder" label="&TreeFolderCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="2"/>-->
  106.                         <treecol id="ident" label="&TreeFolderCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="2"/>
  107.                         <splitter class="tree-splitter"/>
  108.  
  109.                         <treecol id="name" label="&TreeFileCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="1"/>
  110.                         <splitter class="tree-splitter"/>
  111.  
  112.                         <treecol id="size" label="&TreeSizeCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="1"/>
  113.                         <splitter class="tree-splitter"/>
  114.                         <!--<treecol id="created" label="&TreeCreatedCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="1"/>
  115.                         <splitter class="tree-splitter"/>-->
  116.                         <treecol id="modified" label="&TreeModifiedCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="1"/>
  117.                         <splitter class="tree-splitter"/>
  118.                         <treecol id="prot" label="&TreeProtectCaption;" persist="width" onmouseup="bpriv.SortLSOView(this.id);" flex="1"/>
  119.                     </treecols>
  120.                     <treechildren flex="1"/>
  121.                 </tree>
  122.                 <spacer orient="vertical" height="5px"/>
  123.                 <hbox pack="start">
  124.                     <label value="&FullPath;" style="font-size:110%;"/>
  125.                     <textbox flex="1" id="FullPathID" readonly="true" class="plain" style="padding: 2px !important; margin: 0px !important; border-top: 1px solid #fbfbfb !important; border-left: 1px solid #fbfbfb !important; border-right: 1px solid #bfbfbf !important; border-bottom: 1px solid #e8e8e8 !important;"/>
  126.                     <spacer orient="horizontal" width="5px"/>
  127.                 </hbox>
  128.                 <spacer orient="vertical" height="5px"/>
  129.  
  130.  
  131.                 <hbox pack="end" align="end">
  132.                     <description id="tip" style="font-weight: bold;"/>
  133.                     <spacer orient="horizontal" flex="1" width="5px"/>
  134.                     <button id="protectLsoDir" disabled="true" label="&ButtonProtect;" oncommand="bpriv.ToggleLSOProtection(2);"/>
  135.                     <button id="EditPLBtn" label="&ButtonEditPL;" oncommand="bpopt.EditPL();"/>
  136.                     <spacer orient="horizontal" width="15px"/>
  137.                     <button id="removeLso" disabled="true" label="&ButtonDelete;" oncommand="bpriv.DeleteLso();"/>
  138.                     <button id="removeAllLsos" disabled="true" label="&ButtonDeleteAll;" oncommand="bpriv.DeleteAllLsos();" tooltiptext="&TTTButtonDeleteAll;"/>
  139.                     <!--<spacer orient="horizontal" width="15px"/>
  140.                     <button id="reloadLsos" label="&ButtonReload;" oncommand="bpriv.ReloadLsos();" tooltiptext="&TTTButtonReload;"/>-->
  141.                 </hbox>
  142.  
  143.             </vbox>
  144.         </groupbox>
  145.  
  146.         <box align="end" pack="end" orient="horizontal">
  147.             <label value="&Removed;"/>
  148.             <spacer orient="horizontal" width="5px"/>
  149.             <label id="SessionLabelID" value="&Session;"/>
  150.             <textbox id="lso_removedSession" preference="RemovedLSOsSession" readonly="true" maxlength="3"/>
  151.             <spacer orient="horizontal" width="5px"/>
  152.             <label value="&Cumulative;"/>
  153.             <textbox id="lso_removed" preference="RemovedLSOs" readonly="true" maxlength="9"/>
  154.             <spacer orient="horizontal" width="10px"/>
  155.             <button id="MacAcceptBtn" label="Ok" oncommand="bpopt.accept(); window.close();"/> 
  156.         </box>
  157.  
  158.  
  159.         </tabpanel>
  160.  
  161.  
  162.  
  163.  
  164.  
  165.         <tabpanel id="tabpanel2" orient="vertical" flex="1" style="overflow:auto;">
  166.         <description id="optionsinfo" style="display: none; font-weight: bold;"></description>
  167.         <groupbox id="FlashDirectory">
  168.         <caption label="&LSOcaption;" />
  169.             <vbox flex="1">
  170.                 <separator class="thin"/>
  171.             </vbox>
  172.             <vbox flex="1">
  173.         <groupbox id="LSODeletionID">
  174.         <caption id="LSODeletionCaptionID" label="&LSODeletionCaption;" />
  175.                 <radiogroup  id="AutoDelLSOnExitModeID" orient="horizontal">
  176.                   <radio id="DelLSOOnExit" value="0" label="&DelLSOOnExit;" oncommand="bpopt.AutoDelLSOToggled();"/>
  177.                   <radio id="DelLSONoDialog" value="1" label="&DelLSONoDialog;" oncommand="bpopt.AutoDelLSOToggled();"/>
  178.                 </radiogroup>
  179.                 <hbox>
  180.                     <spacer orient="horizontal" width="20px"/>
  181.                     <checkbox id="AskOnExitPref" preference="DontAskOnExit" label="&AskOnExit;"/>
  182.                 </hbox>
  183.                 <checkbox id="AutoDelLSOOnStartPref" preference="AutoDelLSOOnStart" label="&DelLSOOnStart;"/>
  184.                 <hbox align="end">
  185.                   <checkbox id="AutoDelIntervalPref" preference="AutoInterval" label="&AutoDelInterval;" oncommand="bpopt.AutoIntervalToggled();"/>
  186.                   <checkbox id="AutoDelIntervalDelayPref" preference="AutoIntervalDelay" label="&AutoDelIntervalDelay;"/>
  187.                     <label id="delIntervallabel" value="&TimeInterval;"/>
  188.                         <textbox id="delInterval" type="number" min="1" max="999999" style="width: 50px;"/>
  189.                         <menulist id="unitList" label="Unit">
  190.                               <menupopup>
  191.                                     <menuitem label="&seconds;"/>
  192.                                     <menuitem label="&minutes;"/>
  193.                                     <menuitem label="&hours;" selected="true"/>
  194.                                     <menuitem label="&days;"/>
  195.                               </menupopup>
  196.                         </menulist>
  197.                 </hbox>
  198.  
  199.  
  200.             <hbox align="end">
  201.                 <label tooltiptext="&TTTLSODelKey;">&LSODelKey;</label>
  202.                 <label id="KeyCodeLabel" value="" tooltiptext="&TTTLSODelKey;"/>
  203.                 <textbox id="KeyCodeBox" checkInput="true" inputType="char" size="3" onkeydown="this.value = '';" tooltiptext="&TTTLSODelKey;"/>
  204.                 <label tooltiptext="&TTTLSODelKey;">&RestartRequired;</label>
  205.             </hbox>
  206.  
  207.  
  208.  
  209.         </groupbox>
  210.                 <checkbox id="AutoDelDCPref" preference="AutoDelDC" label="&AutoDelDC;" tooltiptext="&TTTAutoDelDC;"/>
  211.                 <checkbox id="AutoDelDirsPref" preference="AutoDelDirs" label="&AutoDelDirs;"/>
  212.                 <hbox align="end">
  213.                     <checkbox id="NotifyOnNewLSOPref" preference="NotifyOnNewLSO" label="&NotifyOnNewLSO;" oncommand="bpopt.NotifyOnNewLSOToggled(true);"/>
  214.                     <spacer orient="horizontal" width="5px"/>
  215.                     <label value="&NotifyDuration;" tooltiptext="&TTTNotifyDuration;"/>
  216.                     <textbox id="NotifyDurationID" type="number" min="0" max="300" preference="NotifyDuration" maxlength="3" tooltiptext="&TTTNotifyDuration;" style="width: 50px;"/>
  217.                 </hbox>
  218.  
  219.                 <separator class="thin"/>
  220.             </vbox>
  221.         </groupbox>
  222.  
  223.  
  224.  
  225.         <groupbox id="DOMStorage">
  226.         <caption label="&DOMcaption;" />
  227.             <vbox flex="1">
  228.                 <separator class="thin"/>
  229.                 <hbox align="end">
  230.                     <checkbox id="ClearDOMPref" preference="ClearDOM" label="&ClearDOM;" tooltiptext="&TTTClearDOM;"/>
  231.                 </hbox>
  232.                 <separator class="thin"/>
  233.             </vbox>
  234.         </groupbox>
  235.  
  236.  
  237.         <groupbox id="Ping">
  238.         <caption label="Click-Ping" />
  239.             <vbox flex="1">
  240.                 <description>&PingDecription;</description>
  241.                 <separator class="thin"/>
  242.                 <checkbox id="DisablePingPref" preference="DisablePing" label="&DisablePing;"/>
  243.                 <separator class="thin"/>
  244.             </vbox>
  245.         </groupbox>
  246.  
  247.         <hbox>
  248.             <checkbox id="alwaysReScanPref" preference="alwaysReScan" label="&alwaysReScan;" oncommand="bpopt.AlwaysReScanToggled(true);" tooltiptext="&TTTalwaysReScan;"/>
  249.             <spacer orient="horizontal" width="5px"/>
  250.             <checkbox id="propagatePref" preference="propagate" label="&propagate;" oncommand="bpopt.propagateToggled();" tooltiptext="&TTTpropagate;"/>
  251.         </hbox>
  252.  
  253.  
  254.         <spacer orient="vertical" height="5px" flex="1"/>
  255.         <box align="end" pack="end" orient="horizontal">
  256.             <button id="MacHelpBtn" oncommand="bpopt.HelpPageDisplay('chrome://bp/content/bphelp.html');" label="&Help;" accesskey="h"/>
  257.             <button id="MacAcceptBtn" oncommand="bpopt.accept(true); window.close();" label="&Ok;"/>
  258.  
  259.         </box>
  260.  
  261.         </tabpanel>
  262.         </tabpanels>
  263.     </tabbox>
  264.  
  265.     </prefpane>
  266.  
  267.  
  268. </prefwindow>